Skip to content

[MCP] Update MCP SDK#9485

Merged
glen-84 merged 2 commits intomainfrom
gai/update-mcp-sdk
Mar 30, 2026
Merged

[MCP] Update MCP SDK#9485
glen-84 merged 2 commits intomainfrom
gai/update-mcp-sdk

Conversation

@glen-84
Copy link
Copy Markdown
Member

@glen-84 glen-84 commented Mar 30, 2026

Summary of the changes (Less than 80 chars)

  • [MCP] Update MCP SDK.

Copilot AI review requested due to automatic review settings March 30, 2026 10:29
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the MCP adapter to use the newer MCP SDK package version and aligns adapter code/tests with SDK API and transport changes.

Changes:

  • Bump ChilliCream.ModelContextProtocol.AspNetCore to 1.2.0.
  • Update MCP server request context construction in CallToolHandlerTests to match the new SDK API.
  • Remove mapping of legacy “HTTP with SSE” endpoints from MapGraphQLMcp, leaving only Streamable HTTP endpoints.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
src/HotChocolate/Adapters/test/Adapters.Mcp.Tests/Handlers/CallToolHandlerTests.cs Adjusts RequestContext<T> construction for the updated MCP SDK API.
src/HotChocolate/Adapters/src/Adapters.Mcp.Core/Extensions/EndpointRouteBuilderExtensions.cs Removes legacy SSE endpoint mapping and updates endpoint comments for stateless/stateful behavior.
src/Directory.Packages.props Central package version bump for the MCP ASP.NET Core SDK.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants